package com.song.EMS.bean;
/**用于后端给前端ajxa发送信息
 * 给客户断的信息
 * @author song
 */
public class Message {
    /**1表示成功  -1 表示失败*/
    private Integer status;
    /**消息内容*/
    private String result;
    /**消息所携带的信息*/
    private Object object;

    public Message(Integer status, String result) {
        this.status = status;
        this.result = result;
    }

    public Message() {
    }

    public Message(Integer status, String result, Object object) {
        this.status = status;
        this.result = result;
        this.object = object;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
